package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the DEPRE_ORDER database table.
 * 
 */
@Entity
@Table(name="DEPRE_ORDER")
@NamedQuery(name="DepreOrder.findAll", query="SELECT d FROM DepreOrder d")
public class DepreOrder implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="DORDER_ID")
	private String dorderId;

	@Column(name="DOBUS_NAME")
	private String dobusName;

	@Column(name="DORDER_ADDRESS")
	private String dorderAddress;

	@Column(name="DORDER_AGENT")
	private String dorderAgent;

	@Temporal(TemporalType.DATE)
	@Column(name="DORDER_DATE3")
	private Date dorderDate3;

	@Column(name="DORDER_MONEY3")
	private BigDecimal dorderMoney3;

	@Column(name="DORDER_REMARKS")
	private String dorderRemarks;

	//bi-directional many-to-one association to Depreciation
	@ManyToOne
	@JoinColumn(name="DEPRE_ID")
	private Depreciation depreciation;

	public DepreOrder() {
	}

	public String getDorderId() {
		return this.dorderId;
	}

	public void setDorderId(String dorderId) {
		this.dorderId = dorderId;
	}

	public String getDobusName() {
		return this.dobusName;
	}

	public void setDobusName(String dobusName) {
		this.dobusName = dobusName;
	}

	public String getDorderAddress() {
		return this.dorderAddress;
	}

	public void setDorderAddress(String dorderAddress) {
		this.dorderAddress = dorderAddress;
	}

	public String getDorderAgent() {
		return this.dorderAgent;
	}

	public void setDorderAgent(String dorderAgent) {
		this.dorderAgent = dorderAgent;
	}

	public Date getDorderDate3() {
		return this.dorderDate3;
	}

	public void setDorderDate3(Date dorderDate3) {
		this.dorderDate3 = dorderDate3;
	}

	public BigDecimal getDorderMoney3() {
		return this.dorderMoney3;
	}

	public void setDorderMoney3(BigDecimal dorderMoney3) {
		this.dorderMoney3 = dorderMoney3;
	}

	public String getDorderRemarks() {
		return this.dorderRemarks;
	}

	public void setDorderRemarks(String dorderRemarks) {
		this.dorderRemarks = dorderRemarks;
	}

	public Depreciation getDepreciation() {
		return this.depreciation;
	}

	public void setDepreciation(Depreciation depreciation) {
		this.depreciation = depreciation;
	}

}